package com.oo.abstractAndInterface_6.drink;

/**
 * Drink--${description}
 *
 * @author: Jovi
 * @createTime: 2017-04-19 10:33
 **/
public abstract class Drink {

    private String name;

    private String taste;

    public abstract void drink();

    public Drink(String name, String taste) {
        this.name = name;
        this.taste = taste;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTaste() {
        return taste;
    }

    public void setTaste(String taste) {
        this.taste = taste;
    }
}
